import http from "../../service/http";
// 获取用户的粉丝未读消息数量
export function getFanUnreadNumAPI(userId) {
  return http.get(`/user/${userId}/FanUnreadNum`)
}
// 获取用户的点赞未读消息数量
export function getLikeUnreadNumAPI(userId) {
  return http.get(`/user/${userId}/byLikeUnreadNum`)
}
// 获取用户的评论未读消息数量
export function getCommentUnreadNumAPI(userId) {
  return http.get(`/user/${userId}/byCommentUnreadNum`)
}
// 获取用户的@未读消息数量
export function getAtUnreadNumAPI(userId) {
  return http.get(`/user/${userId}/getAtUnreadNum`)
}

// 读取用户所有粉丝的未读消息
export function readAllFanMsgAPI(userId) {
  return http.get(`/user/${userId}/readAllFanMsg`)
}

// 读取用户所有点赞的未读消息
export function readAllLikeMsgAPI(userId) {
  return http.get(`/user/${userId}/readAllByLikeMsg`)
}
// 读取用户所有@的未读消息
export function readAllAtMsgAPI(userId) {
  return http.get(`/user/${userId}/readAllAtMsg`)
}
// 读取用户所有评论的未读消息
export function readAllCommentMsgAPI(userId) {
  return http.get(`/user/${userId}/readAllByCommentMsg`)
}
